/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.lucava.boatskeeper.client.service;

import org.lucava.lib.shared.service.RemoteParameter;
import org.lucava.lib.shared.service.RemoteResponse;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import java.util.List;
import org.lucava.boatskeeper.shared.dto.BoatDto;

/**
 *
 * @author glenn
 */
@RemoteServiceRelativePath("boat")
public interface BoatService extends RemoteService {

    public List<BoatDto> getBoats();

    public BoatDto getBoat(Integer id);

    public Boolean saveBoat(BoatDto boat);

    public Boolean removeBoat(BoatDto boat);

    public Boolean removeBoats(List<Integer> boatIds);
}
